home *** CD-ROM | disk | FTP | other *** search
- Path: pravda.aa.msen.com!not-for-mail
- From: crandall@mail.msen.com (Chad Randall)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Problems with BOOPSI prop gadget
- Date: 12 Jan 1996 14:12:58 GMT
- Organization: Msen, Inc. -- Ann Arbor, MI.
- Distribution: world
- Message-ID: <4d5q9a$ob7@pravda.aa.msen.com>
- References: <3395.6583T1242T1959@sn.no> <68245089%suamor@student.uni-tuebingen.de>
- NNTP-Posting-Host: conch.aa.msen.com
- X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]
-
- Reinhard Katzmann (Suamor@student.uni-tuebingen.de) wrote:
- : Rune Elvemo schrieb in comp.sys.amiga.programmer ueber "Problems with
- : BOOPSI prop gadget":
- : >
- : > PGA_NewLook, TRUE,
- : ^^^^^^^^^^^
- : I thought this would be only used for menus!?
-
- No. Prop gadgets have a newlook under 3.0. You
- are thinking of WFLG_NewLookMenus.
-
- :
- : > /* set the window of the program to the target */
- : > ICA_TARGET, ICTARGET_IDCMP,
- :
- : You don't need this, it is only used to communicate with other
- : boopsi objects. ^^^^
-
- Wrong again. ICTARGET_IDCMP states that the messages should be
- sent to the window's event port (userport). ICA_TARGET
- is *usually* used to talk to other objects.
-
- : > Anyone who knows what is wrong with this?
- :
- : Simple. You forgot to add the gadget: AddGadget(window,(struct Gadget *)prop,-1L)
-
- Don't forget to refreshglist() it too. Or, create it before
- opening the window and pass it as WA_GADGETS value.
-
- crandall@msen.com
-
-